package com.szeastroc.service.system.impl;

import com.szeastroc.base.service.BaseServiceImpl;
import com.szeastroc.bean.system.SystemRoleResource;
import com.szeastroc.mapper.system.SystemRoleResourceMapper;
import com.szeastroc.service.system.SystemRoleResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by jie on 2018/1/14.
 */
@Service
public class SystemRoleResourceServiceImpl extends BaseServiceImpl<SystemRoleResource> implements SystemRoleResourceService{

    @Autowired
    SystemRoleResourceMapper systemRoleResourceMapper;


    public void deleteByRoleId(Integer roleId){
        systemRoleResourceMapper.deleteByRoleId(roleId);
    }

}
